import 'package:flutter/cupertino.dart';
import 'package:flutter_architecture/constant/base_state_enum.dart';

/// ViewModel的基类
/// @author: dingwen
/// @date: 2020/12/28

abstract class BaseViewModel extends ChangeNotifier {
  ///记录网络请求状态
  BaseState state;

  ///请求服务器数据的方法
  fetchData();

}
